import axios from '@/libs/api.request'

export const getServerList = () => {
  return axios.request({
    url: 'cmdb/servers/',
    method: 'get'
  })
}

export const delServer = (server_id) => {
  console.log(server_id)
  return axios.request({
    url: 'cmdb/servers/'+server_id+'/',
    method: 'delete'
  })
}
//  http://47.92.53.160:7300/mock/5f06e099d97e7a0783bfffcb/api/cmdb/servers/